package com.exce;

import com.exce.Student3;

/**
 * @Author WaveHi
 * @Date 3/8/2021 上午 10:56
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description 测试Student3类
 */
public class TestStudent3 {

    public static void main(String[] args) {

        //获取对象
        Student3 student3 = new Student3();

        //年龄增长
        student3.setAge(23);
        System.out.println("学生的年龄为" + student3.getAge());
        student3.setAge(25);
        System.out.println("学生的年龄为" + student3.getAge());

    }

}
